package com.ticket.sass.provider.business;


import com.ticket.sass.provider.dto.input.resource.ResourceListInput;
import com.ticket.sass.provider.dto.input.resource.ResourceAddInput;
import com.ticket.sass.provider.dto.input.resource.ResourceUpdInput;
import com.ticket.sass.provider.dto.output.resource.RecursionResourceOutput;
import com.ticket.sass.provider.dto.output.resource.ResourceListOutput;
import com.ticket.sass.provider.service.PageModel;

import java.util.List;

/**
 * @author ywb
 * @date 2022-01-07 15:22
 */
public interface ResourceBusiness {

    void saveResource(ResourceAddInput input);


    void updResource(ResourceUpdInput input);
    
    PageModel<ResourceListOutput> list(ResourceListInput input);
    
    List<RecursionResourceOutput> recursionList();
}
